﻿using System;
using System.Collections.Generic;


namespace Model
{
    /// <summary>
    /// 图书类型信息类
    /// 作用：存储借还图书信息
    /// 
    /// </summary>
    public partial class BookCategory
    {

        /// <summary>
        /// ID
        /// </summary>
        public int _Id { get; set; }
        /// <summary>
        /// 类型编号
        /// </summary>
        public int CategoryId { get; set; }
        /// <summary>
        /// 类型名称
        /// </summary>
        public string CategoryName { get; set; }
        /// <summary>
        /// 父类ID
        /// </summary>
        public int ParentId { get; set; }


        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="categoryId"></param>
        /// <param name="categoryName"></param>
        /// <param name="parentId"></param>
        public BookCategory(int categoryId, string categoryName, int parentId)
        {
            CategoryId = categoryId;
            CategoryName = categoryName;
            ParentId = parentId;
        }
        public BookCategory()
        {
        }
    }
}
